#ifndef QSHADOWBITMAP_H
#define QSHADOWBITMAP_H

#include "cx_typedef.h"
#include "QBitmap.h"
#include <e32def.h>
#include <gdi.h>

class CQColor;
class CFbsBitmap;

const int SHADOWBITMAP_WIDTH = 2;

class CQShadowBitmap : public CQBitmap
{
public:
	IMPORT_C CQShadowBitmap();
	IMPORT_C virtual ~CQShadowBitmap();
	
	enum TQShadowDirection
	{
		ShadowH,
		ShadowW
	};
	
	enum TQDisplayMode
	{
		QColor64K,
		QColor16M,
		QColor16MA
	};
	
	IMPORT_C  void Create(QINT aWidth, QINT aHeight, TQDisplayMode aColorType, CQColor startColor, CQColor endColor, TQShadowDirection aDirection);
	IMPORT_C  void DeleteShadowBitmap();
	IMPORT_C  CFbsBitmap* GetShadowFbsBitmap();

private:
	/*
	QBYTE* bitmap;	
	QINT iWidth;
	QINT iHeight;*/
	QINT bpp;
	CFbsBitmap* m_pBlockBitmap;
	
};


#endif //QSHADOWBITMAP_H
